package com.boot.unity.api.wx.controller;

import com.boot.unity.api.wx.service.WxCourseService;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 排课信息服务
 */
@RestController
@RequestMapping("/wx/course")
@Validated
public class WxCourseController {
    private final Log logger = LogFactory.getLog(WxCourseController.class);

    @Autowired
    private WxCourseService wxCourseService;

    @GetMapping("filter")
    public Object filter(String uid, String subject, String classDate, String classTime,  String coachId,String key) {
        return wxCourseService.filter(uid, subject, classDate, classTime, coachId,key);
    }






}
